package cn.lbaicai.service;

import java.util.List;

import cn.lbaicai.entity.RequestData;
import cn.lbaicai.entity.ResultData;
import cn.lbaicai.entity.Role;

public interface RoleService {
	int deleteByPrimaryKey(Integer id);
	int delAllRole(String ids);
    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
    
    List<Role> selectByRole(Role record);
    
    ResultData<List<Role>> selectRole(RequestData<Role> record);
}
